<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="upload.js"></script>
</head>
<body>
<input type="file" name="upload"  id="tet" />

<div id="fileinfo"></div>
<div id="filename"></div>
<div id="filesize"></div>
<div id="filetype"></div>
<div id="filedim"></div>
<img id="preview" />
<script type="text/javascript">
    _$('tet').addEventListener('change',function(){html5Upload.fileSelected("tet")} , false);
</script>
</body>
</html>